package net.sansi.v3correctserver.util;

import net.sansi.v3correctserver.entity.IntPoint;
import net.sansi.v3correctserver.entity.image.RecCmmImage;

/**
 * Created by Fang
 * create time : 2024/12/16
 * IDE : IntelliJ IDEA
 * <p>
 * 绘制图表工具
 */

public class ChartUtil {

    public ChartUtil() {}


    public static void writeText(RecCmmImage image, String text, IntPoint start) {
        char[] chars = text.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            char c = chars[i];
        }
    }

    public static final int[][][] numbers = {
            {
                    {255, 255, 255},
                    {255, 0, 255},
                    {255, 0, 255},
                    {255, 0, 255},
                    {255, 255, 255},
            },
            {
                    {0, 255, 0},
                    {0, 255, 0},
                    {0, 255, 0},
                    {0, 255, 0},
                    {0, 255, 0},
            },
            {
                    {255, 255, 255},
                    {0, 0, 255},
                    {255, 255, 255},
                    {255, 0, 0},
                    {255, 255, 255},
            },
            {
                    {255, 255, 255},
                    {0, 0, 255},
                    {255, 255, 255},
                    {0, 0, 255},
                    {255, 255, 255},
            },
            {
                    {255, 0, 255},
                    {255, 0, 255},
                    {255, 255, 255},
                    {0, 0, 255},
                    {0, 0, 255},
            },
            {
                    {255, 255, 255},
                    {255, 0, 0},
                    {255, 255, 255},
                    {0, 0, 255},
                    {255, 255, 255},
            },
            {
                    {255, 255, 255},
                    {255, 0, 0},
                    {255, 255, 255},
                    {255, 0, 255},
                    {255, 255, 255},
            },
            {
                    {255, 255, 255},
                    {0, 0, 255},
                    {0, 0, 255},
                    {0, 0, 255},
                    {0, 0, 255},
            },
            {
                    {255, 255, 255},
                    {255, 0, 255},
                    {255, 255, 255},
                    {255, 0, 255},
                    {255, 255, 255},
            },
            {
                    {255, 255, 255},
                    {255, 0, 255},
                    {255, 255, 255},
                    {0, 0, 255},
                    {255, 255, 255},
            },
            {
                    {0, 0, 0},
                    {0, 0, 0},
                    {0, 0, 0},
                    {0, 0, 0},
                    {255, 0, 0},
            }
    };
}
